package com.zzj.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author zzj
 * @since 2023-05-12
 */
@TableName("picc_patient")
public class Patient implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 患者id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户名
     */
    private String username;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 患者编号
     */
    private String patientNum;

    /**
     * 姓名
     */
    private String name;

    /**
     * 性别
     */
    private String sex;

    /**
     * 生日
     */
    private String birthday;

    /**
     * 文化
     */
    private String culture;

    /**
     * 城市
     */
    private String city;

    /**
     * 手机
     */
    private String phone;

    /**
     * 建档时间
     */
    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 省市
     */
    private String region;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getPatientNum() {
        return patientNum;
    }

    public void setPatientNum(String patientNum) {
        this.patientNum = patientNum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getCulture() {
        return culture;
    }

    public void setCulture(String culture) {
        this.culture = culture;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    @Override
    public String toString() {
        return "Patient{" +
                "id = " + id +
                ", username = " + username +
                ", avatar = " + avatar +
                ", patientNum = " + patientNum +
                ", name = " + name +
                ", sex = " + sex +
                ", birthday = " + birthday +
                ", culture = " + culture +
                ", city = " + city +
                ", phone = " + phone +
                ", createTime = " + createTime +
                ", address = " + address +
                ", region = " + region +
                "}";
    }
}
